package com.iwhalecloud.uncc.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @Description
 * @Author xu.dangling
 * @Date 2021/4/6
 */
@Configuration
@ConfigurationProperties(prefix = "script")
public class ScriptProperties {

    private String ruleEngineerCompliePath;
    private String ruleEngineerComplieLibPath;
    private boolean ruleEngineerNeedJavaJar;
    private int ruleEngineerComplieFileExpireTime;
    private boolean testMode;

    public String getRuleEngineerCompliePath() {
        return ruleEngineerCompliePath;
    }

    public void setRuleEngineerCompliePath(String ruleEngineerCompliePath) {
        this.ruleEngineerCompliePath = ruleEngineerCompliePath;
    }

    public String getRuleEngineerComplieLibPath() {
        return ruleEngineerComplieLibPath;
    }

    public void setRuleEngineerComplieLibPath(String ruleEngineerComplieLibPath) {
        this.ruleEngineerComplieLibPath = ruleEngineerComplieLibPath;
    }
    public boolean isRuleEngineerNeedJavaJar() {
        return ruleEngineerNeedJavaJar;
    }

    public void setRuleEngineerNeedJavaJar(boolean ruleEngineerNeedJavaJar) {
        this.ruleEngineerNeedJavaJar = ruleEngineerNeedJavaJar;
    }

    public int getRuleEngineerComplieFileExpireTime() {
        return ruleEngineerComplieFileExpireTime;
    }

    public void setRuleEngineerComplieFileExpireTime(int ruleEngineerComplieFileExpireTime) {
        this.ruleEngineerComplieFileExpireTime = ruleEngineerComplieFileExpireTime;
    }

    public boolean isTestMode() {
        return testMode;
    }

    public void setTestMode(boolean testMode) {
        this.testMode = testMode;
    }
}
